from fastapi import APIRouter, Depends
from sqlalchemy.orm import Session
from src.database.db import get_db
from src.models.user_models import User

router = APIRouter()

@router.get("/users/me", response_model=None)
async def read_users_me(db: Session = Depends(get_db)):
    user = db.query(User).first()
    return user